info={'tom':21,'bob':18,'jack':23,'ana':20}
sort_info=sorted(info.items(),key=lambda item:item[1])
print(sort_info)